<!-- 
    Document   : GoogleCalendarTesting
    Created on : Nov 19, 2007, 8:49:06 PM
    Author     : Derek
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> 
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> 
<title>My Google Data API Application</title>
<script src="http://www.google.com/jsapi?key=ABQIAAAA1saaro-4c0bocJaDgLzWuxTwM0brOpm-All5BF6PoaKBxRWWERQJKib5P-uH5ULfvseE1W37e9JadQ" type="text/javascript"></script> 
<script type="text/javascript"> 
//<![CDATA[  
google.load("gdata", "1");
google.setOnLoadCallback(getMyFeed);
function OnLoad() 
{      
    // Fill out    
}  
var feedUrl =
  "http://www.google.com/calendar/feeds/derekjinlinchen@gmail.com/public/full";
<!--/*
function setupMyService() {
  var myService =
    new google.gdata.calendar.CalendarService('exampleCo-exampleApp-1');
  return myService;
}

function getMyFeed() {
  myService = setupMyService();
 
  myService.getEventsFeed(feedUrl, handleMyFeed, handleError);
}
function handleMyFeed(myResultsFeedRoot) {
  alert("This feed's title is: " +
    myResultsFeedRoot.feed.getTitle().getText());
}

function handleError(e) {
  alert("There was an error!");
  alert(e.cause ? e.cause.statusText : e.message);
}*/
    //]]>    
</script>  
</head>  
<body onload="OnLoad()">    
<div id="panel"/>  
<iframe src="http://www.google.com/calendar/embed?height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=derekjinlinchen%40gmail.com&amp;color=%23A32929" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no"></iframe>
</body>
</html>
